package com.liu.config;

import com.liu.proxyDemo.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.liu.proxyDemo")
public class beanConfig {
    @Bean
    public Person getUser(){
        return new Person();
    }
}
